<?php

function set() {}
/*!

\fn Controller::__set
\memberof Controller
\brief Set-up a variable in the Controller

Variables of the Controller can be used to initiate the state of the
according controller-file. If there is no controller those variables will be
pushed forward as placeholders to a View.

@since 0.2.0

@param string $variable Name of the variable to change
@param object $value    Value of this variable

@see Controller::__get

@section Examples

@subsection Controller-__set_Set-variable Set variable

@code
<?php

// get a controller
$ctrl = new Controller("some_controllername");

// set some variables / placeholder
$ctrl->fruit = "Banana";
$ctrl->db    = new Db();

?>
@endcode

\nomagic{ Controller::set will do the same,
          $ctrl->set("fruit"\, "Banana");
}

*/ /* ----------------------------------------------------------------- */ /*!
